//
//  UIView+UIView_ITAdditions.h
//  fTalk
//
//  Created by 王方帅 on 13-6-14.
//
//

#import <UIKit/UIKit.h>

@interface UIView (UIView_ITAdditions)

//纵坐标和宽高不变，只修改横坐标，以下分别修改一项
-(void)setFrame_x:(CGFloat)x;
-(void)setFrame_y:(CGFloat)y;
-(void)setFrame_width:(CGFloat)width;
-(void)setFrame_height:(CGFloat)height;

- (CGFloat)getFrame_x;
- (CGFloat)getFrame_y;
- (CGFloat)getFrame_height;
- (CGFloat)getFrame_width;

-(CGFloat)getFrame_right;
-(CGFloat)getFrame_Bottom;

@property (nonatomic,assign) CGSize size;

-(CGPoint)origin;

+(CGSize)viewMakeUpWithArray:(NSArray *)array containsize:(CGRect)rect;
- (CGFloat)getCenterX;
- (CGFloat)getCenterY;
- (void)setCenterY:(CGFloat)y;
- (void)setCenterX:(CGFloat)x;

- (void)setXYZero;
- (void)setFrameXYZeroAndSize:(CGSize)viewSize;
@end
